package com.ruoyi.crm.mapper;

import java.util.List;
import com.ruoyi.crm.domain.CrmOrderDetails;

/**
 * 订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2021-10-31
 */
public interface CrmOrderDetailsMapper 
{
    /**
     * 查询订单明细
     * 
     * @param orderDetailUuid 订单明细主键
     * @return 订单明细
     */
    public CrmOrderDetails selectCrmOrderDetailsByOrderDetailUuid(String orderDetailUuid);

    /**
     * 查询订单明细列表
     * 
     * @param crmOrderDetails 订单明细
     * @return 订单明细集合
     */
    public List<CrmOrderDetails> selectCrmOrderDetailsList(CrmOrderDetails crmOrderDetails);

    /**
     * 新增订单明细
     * 
     * @param crmOrderDetails 订单明细
     * @return 结果
     */
    public int insertCrmOrderDetails(CrmOrderDetails crmOrderDetails);

    /**
     * 修改订单明细
     * 
     * @param crmOrderDetails 订单明细
     * @return 结果
     */
    public int updateCrmOrderDetails(CrmOrderDetails crmOrderDetails);

    /**
     * 删除订单明细
     * 
     * @param orderDetailUuid 订单明细主键
     * @return 结果
     */
    public int deleteCrmOrderDetailsByOrderDetailUuid(String orderDetailUuid);

    /**
     * 批量删除订单明细
     * 
     * @param orderDetailUuids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmOrderDetailsByOrderDetailUuids(String[] orderDetailUuids);
}
